package rpg.engine.client;

import java.util.List;

import rpg.client.model.ActorInfo;
import rpg.client.model.ClientMap;
import rpg.client.model.GameObject;
import rpg.engine.model.GameMap;

public class ClientMapInfo implements ClientMap {
	private final GameMap gameMap;
	private final List<ActorInfo> npcs;
	private final List<GameObject> objects;
	
	public ClientMapInfo(GameMap map, List<ActorInfo> _npcs, List<GameObject> objs)  {
		super();
		gameMap = map;
		npcs = _npcs;
		objects = objs;
	}
	
	@Override
	public String getName() {
		return gameMap.getName();
	}

	@Override
	public List<GameObject> getObjects()  {
		return objects;
	}
	
	@Override
	public List<ActorInfo> getNpcs() {
		return npcs;
	}

	@Override
	public List<String> getRows() {
		return gameMap.getRows();
	}

}
